﻿
@{
    List<WeChatParking.Entity.CarRecord> list = ViewBag.list;
    ViewBag.Title = "userCarRecord";
}
<header class="bar bar-nav">
    <a class="button button-link button-nav pull-left back" data-transition='slide-out'>
        <span class="icon icon-left"></span>返回
    </a>
    <h1 class="title">我的账单</h1>
</header>
<div class="content">
    @if (list.Count > 0)
    {
        foreach (var item in list)
        {
        <div class="content-block-title">@item.carBrand</div>
        <div class="list-block">
            <ul>
                 <li class="item-content">
                    <div class="item-inner">
                        <div class="item-title">停车场</div>
                        <div class="item-after"> @item.Enterprise_Name</div>
                    </div>
                </li>
                <li class="item-content">
                    <div class="item-inner">
                        <div class="item-title">进场时间</div>
                        <div class="item-after"> @item.inTime</div>
                    </div>
                </li>
                 <li class="item-content">
                    <div class="item-inner">
                        <div class="item-title">出场时间</div>
                        <div class="item-after"> @item.outTime</div>
                    </div>
                </li>
                  <li class="item-content">
                    <div class="item-inner">
                        <div class="item-title">优惠金额</div>
                        <div class="item-after"> @item.YH_fee</div>
                    </div>
                </li>
                    <li class="item-content">
                    <div class="item-inner">
                        <div class="item-title">实付金额</div>
                        <div class="item-after"> @item.S_fee</div>
                    </div>
                </li>
            </ul>
        </div>
        }
    }
    else
    {
        <h2 style="text-align: center; color: orangered;">暂无记录</h2>
    }
</div>
